package com.gtfrank.web.servlet.service;

import com.gtfrank.web.servlet.pojo.User;

import java.util.List;

public interface IUserService {
    User login(String name , String password) ;
    void register(User user);
    List queryAll();
    void delete(int id);
    User getUserById(int id);
    void update(User user);
    User findUserByName(String name);
    List<User> findUserByLikeName(String name);
}
